package com.itqf.proxy.dynimic_cglib.impl;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/9/28
 * @Time: 下午5:15
 */
public class ProductServiceImpl  {

    public void addProduct() {
        System.out.println("add product........");
        int i = 10/0;//模拟异常  断电了
        System.out.println(i);
    }


    public int deleteProduct(String id) {
        System.out.println("delete product........");
        return  1;
    }


    public int updateProduct() {
        System.out.println("update product........");
        return  1;
    }
}
